package com.zhentao.classManager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName s_class
 */
@TableName(value ="s_class")
@Data
public class SClass implements Serializable {
    /**
     * 班级主键
     */
    @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    /**
     * 班级名称
     */
    @TableField(value = "class_name")
    private String className;

    /**
     * 专业阶段外键
     */
    @TableField(value = "level_id")
    private Integer levelId;

    /**
     * 带班老师外键
     */
    @TableField(value = "teacher_id")
    private Integer teacherId;

    /**
     * 具体专业几外键
     */
    @TableField(value = "lp_id")
    private Integer lpId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}